trigger SalesInvoiceMonthDetailTrigger on SalesInvoiceMonthDetail__c(before insert,before update) {
    
    if(trigger.isBefore && (trigger.isInsert || trigger.isUpdate))SalesInvoiceMonthDetailHandler.matchdata(trigger.new);
}